package com.platform.modules.custmoer.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.platform.modules.custmoer.dto.MyCustomersDto;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 员工信息
 *
 * @author klwu
 */
@Data
@TableName("staff")
public class StaffEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId
    private String id;

    private String name;

    private String address;
    private String province;
    private String city;
    private String town;

    private String phone;

    private Integer custNum;

    private Integer orderNum;

    private Integer vistorNum;

    private String password;

    private Date createTime;

    // 目标业绩
    private String targetPrice;

    @TableField(exist = false)
    private List<MyCustomersDto> myCustomersDtoList;
}
